package com.tianxiabuyi.persist;

import java.util.HashMap;

/**
 * Created by yang on 2017/3/25.
 */
public class CommonResult<T> {
    int code;
    String message;
    String inputMsg;
    T resultObj;
    public HashMap<String, Object> extInfo = new HashMap<String, Object>();

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getInputMsg() {
        return inputMsg;
    }

    public void setInputMsg(String inputMsg) {
        this.inputMsg = inputMsg;
    }

    public T getResultObj() {
        return resultObj;
    }

    public void setResultObj(T resultObj) {
        this.resultObj = resultObj;
    }
}